Skip to content

Conversation

@taresh18
Copy link

@taresh18 taresh18 commented Oct 25, 2025

  1. Add the missing /start endpoint in the twilio dialin example
  2. Update the port from 7860 to 8080 in env.example (the default port configured in server.py)

@markbackman
Copy link
Contributor

This change is not correct. The /start endpoint comes with Pipecat's development runner, which is run when the bot.py file is run.

The steps to run this are:

  1. Run the FastAPI server: uv run server.py. This starts a server on port 8080, which is responsible for handling the inbound call.
  2. Open an ngrok tunnel to the FastAPI server we started in step 1: ngrok http 8080
  3. Run your bot.py file, which in:
if __name__ == "__main__":
    from pipecat.runner.run import main

    main()

runs a FastAPI server to handle requests to /start.

I understand that step 3 might be a bit confusing, but the development runner mocks the Pipecat Cloud infrastructure, which means that your server.py file works identically for local development and deployments to Pipecat Cloud. This avoids that server needing to know more about which routes to call in which environments.

I just tested to make sure all is well and things check out. I'm closing out this PR, but thank you for filing it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants